// 返回结果类型
export interface ResponseData {
  code: number;
  message: string;
  ok: boolean;
}
// 返回data数据类型
export interface CategoryObj {
  id: number;
  name: string;
  category1Id?: number;
  category2Id?: number;
}
export interface CategoryResponseData extends ResponseData {
  data: CategoryObj[];
}

// 列表属性值data第一层
export interface Arrt {
  id?: number;
  attrName: string;
  categoryId: number | string;
  categoryLevel: number;
  attrValueList: AttrList;
}
// 列表属性值data第二层
export interface Arrt2 {
  id?: number;
  valueName: string;
  attrId?: number;
  flag?: boolean;
}
export type AttrList = Arrt2[];
// 返回的data数据
export interface AttrResponseData extends ResponseData {
  data: Arrt[];
}
